package bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import common.RowMapper;

public class ProductValueRowMapper implements RowMapper<ProductValue> {

	@Override
	public ProductValue mapper(ResultSet rs) throws SQLException {
		ProductValue pv=new ProductValue();
		pv.setAttrValueid(rs.getInt("attr_valueid"));
		pv.setAttrValue(rs.getString("attr_value"));
		pv.setAttrid(rs.getInt("attrid"));
		return pv;
	}

}
